package ExtEntities;

import Entities.Composition;
import Entities.CompositionInPlayList;
import Entities.User;
import java.util.LinkedList;

/**
 *
 * @author 647_2
 */
public class VeryExtPlaylist {
    private int ID;
    private String name;
    private User author;
    private LinkedList<CompositionInPlayList> compositions;

    public VeryExtPlaylist(){
        ID = 0;
        name = "";
        author = new User(name, name, name);
        compositions = new LinkedList<CompositionInPlayList>();
    }

    public VeryExtPlaylist(int ID, String name, User author, LinkedList<CompositionInPlayList> compositions) {
        this.ID = ID;
        this.name = name;
        this.author = author;
        this.compositions = compositions;
    }

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public User getAuthor() {
        return author;
    }

    public void setAuthor(User author) {
        this.author = author;
    }

    public LinkedList<CompositionInPlayList> getCompositions() {
        return compositions;
    }

    public void setCompositions(LinkedList<CompositionInPlayList> compositions) {
        this.compositions = compositions;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
